<script>

    var  a = 10;
    var  a = 12;


    let b = 10; //Uncaught SyntaxError: Identifier 'b' has already been declared
    let b = 20;

    //输出
    console.log(a);
    console.log(b);

</script>